package com.team20.map_demo.service;


import com.team20.map_demo.domain.Doorplate;
import com.team20.map_demo.domain.Region;
import com.team20.map_demo.domain.Street;

import java.util.List;

public interface DoorplateService {

    Doorplate findDoorplateByPrimaryKey(String id);
    int saveDoorplate(Doorplate doorplate);
    //    List<Door> searchDoors(SearchDoorRequest request);
    int deleteDoorplateByPrimsryKey(String id);
    List<Doorplate> findAllDoorplate();
    List<Doorplate> streetDoorplate( String streetName);
    List<Street> getStreetBytRId(String id);
    List<Doorplate> getDoorplateByStreetId(String id);
    List<Region> getAllRegion();
}



